package edu.xja.service;

import com.github.pagehelper.PageInfo;
import edu.xja.entity.Academy;

import java.util.List;

public interface AcademyService {
    int add(Academy academy);
    int updateById(Academy academy);
    int delete(Academy academy);
    List<Academy> findAll();
    Academy getById(Integer id);
    PageInfo<Academy> search(int pageNum,int pageSize);
}
